<extend name="Public/base"/>

<block name="body">
    <div style="font-size: 2px;">
            <!-- 标题栏 -->
        <form method="POST" id="list" action="{:U('sellpriceexport')}">
            <input type="hidden" name="batch" value="{$batch}">
            <input type="hidden" name="user" value="{$user}">
            <div class="main-title">
                <h2>销售价格</h2>
                <button type="submit" class=" confirm btn btn-default">导出</button>
            </div>
            <div class="cf">
                <div class="search-form fr cf">
                </div>
            </div>
        </form>
        <!-- 数据列表 -->
        <div class="data-table table-striped">
            <table>
                <thead>
                <tr>
                    <th>批次</th>
                    <th>商品名称[规格]</th>
                    <th>成本</th>
                    <th>手工费</th>
                    <th>快递费</th>
                    <th>包装费</th>
                    <th>
                        商城<span class="glyphicon glyphicon-question-sign" title="含运120%"></span>
                    </th>
                    <th>
                        果饮店<span class="glyphicon glyphicon-question-sign" title="不含运105%"></span>
                    </th>
                    <th>
                        员工<span class="glyphicon glyphicon-question-sign" title="不含运115%"></span>
                    </th>
                    <th>
                        企事业<span class="glyphicon glyphicon-question-sign" title="不含运120%"></span>
                    </th>
                    <th >
                        批发<span class="glyphicon glyphicon-question-sign" title="不含运125%"></span>
                    </th>
                    <th >
                        广源<span class="glyphicon glyphicon-question-sign" title="不含运140%"></span>
                    </th>
                </tr>
                </thead>
                <tbody>
                    <volist name="_list" id="vo">
                        <tr >
                            <td>
                                {$vo.batch}
                            </td>
                            <td>
                                {$vo.pname}[{$vo.BIN|get_name_by_id=###,'Material_product','BIN','spec'}]
                            </td>
                            <td>
                                {$vo.base_price}
                            </td>
                            <td>
                                {$vo.process_fee|num_round=###,2}
                            </td>
                            <td>
                                {$vo.gr_trans_fee|num_round=###,2}
                            </td>
                            <td>
                                {$vo.package_fee|num_round=###,2}
                            </td>
                            <td>
                                {$vo['spec_price_sc']}
                            </td>
                            <td>
                                {$vo['spec_price_gyd']}
                            </td>
                            <td>
                                {$vo['spec_price_yg']}
                            </td>
                            <td>
                                {$vo['spec_price_qsy']}
                            </td>
                            <td>
                                {$vo['spec_price_pf']}
                            </td>
                            <td>
                                {$vo['spec_price_gyds']}
                            </td>
                            <td>
                                <a  href="{:U('Dingjia/sellpricedel')}&id={$vo.id}" class="ajax-get confirm btn btn-danger">删除</a>
                            </td>
                        </tr>
                    </volist>
                </tbody>
            </table>
        </div>
        <div class="page">
            {$_page}
        </div>
    </div>
</block>

<block name="script">
    <script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>

    <script type="text/javascript">
        highlight_subnav('{:U(ACTION_NAME)}');

    </script>
</block>
